package com.p2p.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.p2p.model.entity.Bidrequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.p2p.model.entity.Userinfo;
import com.p2p.model.vo.BidrequestQueryVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 借款信息表 Mapper 接口
 * </p>
 *
 * @author 黄旭彬
 * @since 2023-12-12
 */
public interface BidrequestMapper extends BaseMapper<Bidrequest> {

    IPage<Bidrequest> selectUserPage(Page<Bidrequest> pageParam,@Param("vo") BidrequestQueryVo p2ploanQueryVo);

    IPage<Bidrequest> selectBidPage(Page<Bidrequest> pageParam,@Param("vo") BidrequestQueryVo bidrequestQueryVo);

    IPage<Bidrequest> selectTwoPage(Page<Bidrequest> pageParam,@Param("vo") BidrequestQueryVo bidrequestQueryVo);

    IPage<Bidrequest> selectpublishPage(Page<Bidrequest> pageParam,@Param("vo") BidrequestQueryVo bidrequestQueryVo);

    Bidrequest selectUserBidById(Long id);
}
